package com.asktgapp.eventbus;

import org.greenrobot.eventbus.EventBus;

/**
 * time:2018/1/24
 * Create By ZhaoKai
 * Email: dczk@foxmail.com
 * Description:
 */

public class RentMachineEvent {

    private int type;

    public RentMachineEvent(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static void postEvent(int a) {
        EventBus.getDefault().post(new RentMachineEvent(a));
    }
}
